#ifndef DFX_METRICS_COLLECTOR_COMMTRAFF_NAPI_H
#define DFX_METRICS_COLLECTOR_COMMTRAFF_NAPI_H

#include <napi/native_api.h>

namespace OHOS {
namespace KhCommtraff {

    napi_value CommtraffInitJs(napi_env env, napi_callback_info info);
    napi_value CommtraffDeinitJs(napi_env env, napi_callback_info info);
    napi_value InsertCommTraffJs(napi_env env, napi_callback_info info);
    napi_value QueryCommTraffJs(napi_env env, napi_callback_info info);
    napi_value QueryCommTraffNumsJs(napi_env env, napi_callback_info info);
    napi_value JsOn(napi_env env, napi_callback_info info);
    napi_value JsOff(napi_env env, napi_callback_info info);

} // namespace KhCommtraff
} // namespace OHOS

#endif //DFX_METRICS_COLLECTOR_COMMTRAFF_NAPI_H
